﻿using System;
using System.Collections.Generic;
using IDAL;
using Model;

namespace BLL
{
    public class EPROMCheck
    {
        private static readonly IEPROMCheck dal = DALFactory.DataAccess.CreateEPROMCheck();

        public IList<EPROMCheckInfo> GetEPROMbyDT(DateTime startTime, DateTime stopTime)
        {
            return dal.GetEPROMbyDT(startTime, stopTime);
        }

        public IList<EPROMCheckInfo> GetEPROMCheckbySN(string productSN)
        {
            return dal.GetEPROMCheckbySN(productSN);
        }
    }
}
